package org.pixelami.twisted.internet.tcp
{
	public class Client extends BaseClient
	{
		public function Client(host, port, bindAddress, connector, reactor=null)
		{
		}
	}
}

/*
class Client(BaseClient):
	    """A TCP client."""
	
	    def __init__(self, host, port, bindAddress, connector, reactor=None):
	        # BaseClient.__init__ is invoked later
	        self.connector = connector
	        self.addr = (host, port)
	
	        whenDone = self.resolveAddress
	        err = None
	        skt = None
	
	        try:
	            skt = self.createInternetSocket()
	        except socket.error, se:
	            err = error.ConnectBindError(se[0], se[1])
	            whenDone = None
	        if whenDone and bindAddress is not None:
	            try:
	                skt.bind(bindAddress)
	            except socket.error, se:
	                err = error.ConnectBindError(se[0], se[1])
	                whenDone = None
	        self._finishInit(whenDone, skt, err, reactor)
	
	    def getHost(self):
	        """Returns an IPv4Address.
	
	        This indicates the address from which I am connecting.
	        """
	        return address.IPv4Address('TCP', *(self.socket.getsockname() + ('INET',)))
	
	    def getPeer(self):
	        """Returns an IPv4Address.
	
	        This indicates the address that I am connected to.
	        """
	        return address.IPv4Address('TCP', *(self.addr + ('INET',)))
	
	    def __repr__(self):
	        s = '<%s to %s at %x>' % (self.__class__, self.addr, unsignedID(self))
	        return s

*/